package com.juzipi.inter.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.juzipi.inter.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author juzipi
 * @Date 2021/4/14 15:50
 * @Info 试题表
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "test_question")
public class TestQuestion extends BaseEntity {


    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    //题库id
    private Long questionBankId;

    //题目
    private String title;

    //选项
    private String options;

    //答案
    private String answer;

    //类型
    private Integer type;


}
